package cmpe451.group7.ourcity.service.impl;

import java.io.Serializable;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.context.annotation.ScopedProxyMode;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cmpe451.group7.ourcity.dao.MultimediaDAO;
import cmpe451.group7.ourcity.entity.Multimedia;
import cmpe451.group7.ourcity.service.MultimediaService;

@Service("multimediaService")
public class MultimediaServiceImpl implements MultimediaService, Serializable {

	private static final long serialVersionUID = 1L;

	@Autowired
	private MultimediaDAO multimediaDAO;

	@Override
	@Transactional
	public Multimedia findByID(long id) {
		return multimediaDAO.findByID(id);
	}
}
